package net.godcode.olivenotes.services.security;

import org.apache.tapestry.ioc.ServiceBinder;

/**
 * SecurityModule bootstraps the security subsystem. At the moment this
 * system is tightly coupled with the OliveNotes core; specifically on
 * the domain objects representing users, roles, and the accompanying
 * DAO interfaces.
 * 
 * @author Chris Lewis Jan 8, 2008 <chris@thegodcode.net>
 * @version $Id: SecurityModule.java 15 2008-01-09 17:09:00Z burningodzilla $
 */
public class SecurityModule {
	
	public static void bind(ServiceBinder binder) {
		
		//User authentication and access control binding.
		binder.bind(UserAuthenticator.class, UserAuthenticatorImpl.class);
		binder.bind(AccessController.class, AccessControllerImpl.class);
		
	}
	
}